#include "base.h"


base::base(void)
{
}


base::~base(void)
{
}

int main(void) {
	base *b = new base;
	derived *d = new derived;
	b->print();
	d->print();
	b = d;
	b->print();
}